package pers.mihao.quickstream.material.repository.damain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import pers.mihao.quickstream.common.model.BaseDO;
import pers.mihao.quickstream.material.constants.MaterialSourceType;

import java.util.Date;

/**
 * @author mihao
 * @since 2024/11/13
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MaterialDO extends BaseDO  {

    private Long categoryId;

    private String name;

    private String desc;

    private Integer fileSize;

    /**
     * 来源ID
     */
    private String sourceId;

    /**
     * 来源
     * @see MaterialSourceType
     */
    private String sourceType;

    /**
     * 文件源路径
     */
    private String fileSourceUrl;

    /**
     * 上传时间
     */
    private Date uploadTime;

    private String uploadUserId;

    /**
     * 素材类型
     */
    private Integer materialType;

    /**
     * 状态
     */
    private Integer materialStatus;

    /**
     * 发布状态
     */
    private Integer publishStatus;

}
